home *** CD-ROM | disk | FTP | other *** search
- on WindowFunctions
- global CatchMouseX, CatchMouseY, HelpMoving
- if the memberNum of sprite 2 = the memberNum of member "help_pal" then
- set Check to rect(143, 0, 176, 25)
- set NewMember to the memberNum of member "help_zip"
- else
- set Check to rect(21, 0, 61, 25)
- set NewMember to the memberNum of member "help_pal"
- end if
- if inside(point(the mouseH, the mouseV), Check) then
- if HelpMoving then
- nothing()
- else
- puppetSound(4, "Whoosh")
- tell the stage
- RollWindow("Help")
- end tell
- set the memberNum of sprite 2 to NewMember
- end if
- end if
- if inside(point(the mouseH, the mouseV), rect(0, 0, 20, 20)) then
- tell the stage
- removewindow("Help")
- end tell
- end if
- end
-
- on MoveMyWindow
- global CatchMouseX, CatchMouseY, HelpMoving
- if HelpMoving then
- set DeltaX to the mouseH - CatchMouseX
- set DeltaY to the mouseV - CatchMouseY
- tell the stage
- moveWindow("Help", DeltaX, DeltaY)
- end tell
- end if
- end
-
- on jumptohelpscreen
- global HelpMoving, helphighlighted, MouseMGR
- set MarkerList to ["home", "pal", "search", "timeline", "map", "brand", "styles", "info", "market"]
- if HelpMoving then
- nothing()
- else
- if inside(point(the mouseH, the mouseV), rect(14, 180, 165, 201)) then
- cursor([member "Wait", member "Waitmask"])
- tell the stage
- go(getAt(MarkerList, helphighlighted), "_help.dir")
- end tell
- cursor(0)
- set MouseMGR to EMPTY
- end if
- end if
- end
-
- on jumptohelpscreen_doubleclick
- global HelpMoving, helphighlighted, MouseMGR
- set MarkerList to ["home", "pal", "search", "timeline", "map", "brand", "styles", "info", "market"]
- if HelpMoving then
- nothing()
- else
- if inside(point(the mouseH, the mouseV), rect(16, 48, 146, 164)) then
- if the doubleClick then
- if MouseMGR = "doubleclicked_help" then
- nothing()
- else
- cursor([member "Wait", member "Waitmask"])
- tell the stage
- go(getAt(MarkerList, helphighlighted), "_help.dir")
- end tell
- set MouseMGR to "doubleclicked_help"
- end if
- cursor(0)
- end if
- end if
- end if
- end
-